package com.matt.domain.photoalbum;

import com.matt.commons.model.Domain;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * *******************************
 * Created by Ron.
 * form com.matt
 * on 2017/7/13
 * *******************************
 */
@Entity
@Data
@Table(name = "tb_photo_album_static_template")
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
public class PhotoAlbumStaticTemplate extends Domain {

    @Column(columnDefinition = " varchar(50)  COMMENT '模板名字'")
    private String title;

    @Column(name = "aid", columnDefinition = " varchar(32)  COMMENT ' 园区id：园区姓名'")
    private String areaId;

    @Column(name = "staticCode", columnDefinition = " varchar(32)  COMMENT '静态资源码'")
    private String staticCode;

    @Column(columnDefinition = " varchar(255)  COMMENT '封面图片'")
    private String coverURL;

    @Column(columnDefinition = " varchar(255)  COMMENT '封面图片'")
    private String defaultBGM;

    @Column(columnDefinition = " int default 0  COMMENT '请求数量'")
    private Integer visitor;
}
